package io.afu.baseframework.dto.req;

import io.afu.baseframework.annotations.Desensitization;
import io.afu.baseframework.annotations.MustUpper;
import io.afu.baseframework.annotations.Upper;
import io.afu.baseframework.constants.DesensitizationTypeConst;

import jakarta.validation.constraints.NotEmpty;

/**
 * @author RffanLAB.方露宇
 * @version 0.1
 */
public class TestReq {


    @NotEmpty
    @Desensitization(DesensitizationType = DesensitizationTypeConst.NAME)
    private String teststr;

    @Upper
    private String uppper;

    public String getTeststr() {
        return teststr;
    }

    public void setTeststr(String teststr) {
        this.teststr = teststr;
    }

    public String getUppper() {
        return uppper;
    }

    public void setUppper(String uppper) {
        this.uppper = uppper;
    }
}
